import axios from '@/utils/request'

export const getCateList = ()=>{
    return axios({
    url:'/category'    
    })
}

export const addCateList = (data)=>{
    return axios({
        method:'post',
        url:'/category',
        data
    })
}